home *** CD-ROM | disk | FTP | other *** search
- Path: news.inc.net!news
- From: Sanjay Jain <sanjay.jain@midata.com>
- Newsgroups: comp.lang.rexx
- Subject: Re: Timed pause in REXX
- Date: Fri, 26 Jan 1996 09:38:49 -0600
- Organization: M & I Data Services
- Distribution: inet
- Message-ID: <3108F589.29D1@midata.com>
- References: <4e9cf4$2ev@anarchy.io.com>
- NNTP-Posting-Host: 199.38.140.14
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 2.0b4 (Win95; I)
-
- Mike j DeSanto wrote:
- >
- > I need a Rexx command to pause a program for a given number of seconds.
- > Now, I can use time("R") and Time("E") with an infinite loop, like this.
- >
- > call time("R")
- > Do While Time("E") < target
- > NOP
- > End
- >
- > However, this crushes my system resources. Is there any kind of
- > command to say 'let everything else go for x seconds'? It is annoying
- > that waiting takes more resources than playing WAV files.
- >
- > By the way, I am writing a program to run Interactive
- > Entertainment magazine. I am using OS/2 Warp and VX-REXX.
- >
- > Please reply if you know how to do this, it is bugging the hexk
- > out of me.
- >
- > --
- > The Big D desantom@io.com
- > It doesn't have to work right,
- > It just has to work!
-
- Have you looked at the syssleep function in OS/2 REXX. The parameter to
- this function is the time you want to kill. I forget whether it's in
- seconds or minutes.
-
-
- Sanjay Jain
-